use limit in query