optional vlaue nil makes conditional false