Creating function i can reuse getting to understand function better.
Also in creating option for each function