modifications for loading more programs from the server with offset