implements correctly getLimits