logic behind every action is left