changed strings into functions, support for small imm floats, refactor debug print