added entitybase