added get_limits()