changed spacing for then method