changed code to display only method names instead of fully qualified name