added unicode function in model