Refactored the "clicks" into a context/before