type needs to be null by default