changed method type