Corrected method signature