creating the code part 1