Modifying the code to fit the new API