This week sees the controversial Investigatory Powers Bill enter the final stages of its passage through parliament before it becomes law. Once passed by the House of Lords, the amendments will be voted on by both houses before receiving royal assent to become law. It was the Prime Minister Theresa May who sponsored the bill in the first instance a factor which many think will help its rapid progress. The bill updates the Data Retention and Investigatory Powers Act (DRIPA) which expires on 31 December 2016 and regulates the mass collection of data by government agencies. The government argues it is a necessity in the context of national security.