refactor code, remove c++ sintax, make txt bigger