put type inside config