add some hacky debugging