Added step function for BWM