fixed specialties api a bit, need to do documentation