removes unnecessary debug method