Remove debugging function