function tratis added