entities code revision