add demandspike prototype implemententation