removed unneeded method and method call.