Second clock funtion is now implemented.