this is a much better version of what I had earlier with working centered divs