Turning Intention algorithm used for the transfer thesis