remove unnecessary code etc.