testing and optimisation for STAN