Gave credit to the author I forked this from.