Added credit to author's of the code