functions almost complete

fix design work with css