seek to working and while loop removed....