Initial Source - based on homework 7 of system programming