Added functionality to use dead keys