tools for limits