using a different constructor for bonesql