basic arrow functionality added