wrote entity location view