method -> type