Add time and fix syntax