use type methods