Rewrite some functions and parts of code