limit queries now working