implemented fetch entity