add , to random endings