Array->Vector and remove type annonation where unneccesary