updated styles, changed functionality