changed method signature