adding another, better example with entity management