Removed inefficient string functions