working entity layer