adding some styling and functions