added some debugging on binding