removing debugging calls