Adding orders funcionality