should be working. note: to get centering to work, i had to add layout constraints.