read a few instructions, fix some bugs. This is enough to be able to round