this code is not needed if we don't pass the order by as parameter