added object destruction
added structure for arrow