9/21/13: added timer functionality