need yhe pointer type as well