delete unnessary annotations and format the code