slight css changes and function rename