got basic functionality working with strings...need to figure out a way to make it generic