made the necessary adjustment for version 4 and did not forget my floats this time