Before scheduler