entities and some utils