add typeinting to Adapter