Changed goals
changed the order of the functions so defalias is defined after the necessary functions