updated for BoneCP