assert almost working