setting allow nil explicitly