changed constructor to Vector3f