fixed edit orders and added comments