Change slice of project to array