now working comparison of time instances