Realised the rest function would not work. Fixed it.