add typeOver method