add isNull chech method