Updated to use single stan()