more clear use of $_entity variable
added example for non-standard entity locations