Function changes and added temporary CSS