Debugged so overloaded functions run