choose between two overloaded methods at run-time using the 'is' keyword