added Position class