Added basic timer functionality.