Setting the momentum