some initial work on the bones stuff (#21), though still incomplete