added debugging sketch