reducing the number of server requests