to perform an action