some base work on entitys