limits
limits
simplified limits
fixed limits
unit tests for limits
fixed bug in unit test