view order functional