division still doesn't work but no more valgrind errors