added analysis wrapper