Adding description to the functions. Making the code more clear