simulating a real lybrary