added string/memory functions