removed extra code that caused errors