added blacklisting and logging