forward model working