didnt allow for null mode