removed debugging lines and dead code