fixes function signature backwards compatibility
implements a modified version of the additional constructor function signature suggested by @scopatz, modified by @katyhuff, and discouraged by @rwcarlsen