modified maximum read length, now set to 500