minor addition to defensive coding