re#6 Fast implementation of 3 language support added. Should be refactored