un-broke predict function