added prelim stuff