Entity Helper functions