updated for allowable values