typing methods