removed vestigal code
added adaptive demo