updated to take in a name, added to SMS