emoticon algorithm added