cleaned up duplicate position class and removed debugging info