Basic part of the first excersise