Rewrote timer function and added an alias.