Added the posibility to trim the code.