default values to null, rather than undefined index exceptions