replaced default parameter specifiers with function overloading