Modified DB ; Add allocation feature