quadruped.* by Munin, with modifications by zzorn