trying to fix parts of howforprogrammers
foreword edited as per editor