fixed interpreter and tested