Added Entity and working on |> operator