mainly added some string convenience functions