Updated to accept 'now' as an argument.
Fixed syntax errors.