made vectors constant refences