remove binaries and add debug statements