moving code up