added xyz_position to MainView