Shaping the code and removing unnecessary functions