almost working with toms render