changed styling, added url param functionality