remove debugging function