Added arrow functionality