added not-yet-functional version of the buffferagent