Added new functions and edited CSS