added a short version of the first program