removed extra code snippet