public function classes()
 {
     //test call for classes
     $mb = new MB_API();
     //get the date one year out
     $date = date('Y-m-d', strtotime(date("Y-m-d", time()) . " + 365 days"));
     //make sure you always have trailing zeros or bookings do not work!!
     $mbdate = $date . 'T12:00:00';
     //$data=$mb->GetClasses(array('EndDateTime'=>$mbdate));
     //debug($data);
     $data2 = $mb->GetClassDescriptions();
     //DOES NOT work without LocationID and HideRelatedPrograms
     $data2 = $mb->GetServices(array('LocationID' => 1, 'HideRelatedPrograms' => true, 'SessionTypeIDs' => array('35')));
     debug($data2);
 }