handling method type
renamed enum