Swapping and inserting before and after + Yardoc