flip works, fixed some styling