added channel and pattern to be returned with data