checking limits