ordering functionality finished and working