rearranging functions and adding styles to see what up