cleaning up stage 1