Added functionality and modified styling.