check for None first