fixed minor typo and added (-) for first program