replace "END" with "NULL" for consistency