add license for tamerlan's code