Final version of the tool