implemented most of the redesign for pineapple