Added verify_log function. Made map function over phatlog