basic elements of writing to an excel sheet