added entity load method