ec: compare strictly against null
ec: define on use