add in creator method to be backwards compatible