add some logging to be removed later