For tihomir version 4 and 5