Modify AB Test code