formatting issue with movign code around