modified the acquisition function