add logging points for middle execution