import prelims correctly