prediction length added
todo updates