almost working reflection