changed ids method
first version of quarantine maintenance