add factory and delete student