fused my code with Yuxiang, only waiting for Order object to work on server side