remove debugging and extra imports