hah! i think a substr might have been easier. but this certainly works!