add typing methods