fake implementation of getLimits