remove unnecessary code from early trial/error