all entity related functions are working with entity pointers