program now gets info from first entry
program now gets info from first entry