moved to a new module

added management of limits