added link to top of file
separated out work