resolving the conflictand proplems with order class