fixed the method signature