added prelim, other minor things