Added simple timer implementation