fixes getVectors to fit code guidelines