added debug stuff, works with this config