removed overloaded functions and changed parameters to match default