moved vectors to objects