writing out instructions