reverse top with bottom; remove commented code