working on make_ends have new array
Seems to be working perfectly