make the gem backwards compatible