Changed formatting on a method as per code review, add comment showing where I got some code from.