special characters are now supported
finally switched to endless loop