First pass at implementing timer