added classes needed for horse output and ordering