Removed some of the commented code to see if centering could  work.