Can now pass function parameter to Timer. Timer is sucessfully called once per second.