addeding debugging