writing the first code