added interface and fixed two 'points' in STAN