order functionality changed