changed prefixes and added support for multiple heads
Added more complex example, give log warn if not supported