created the ugly first logical version of the code