add make singles
add singles and sort buffer
add comments
fucking rollback failed