added loop primative
added vector