Impplemented the helpful hints