using debug until this works