check order before adding any item