closing the position