got a custom adapter working