before classes