removed extra code block