updated log messages
added private benchmark function