finished css and functionality