attempt 3 at centering