changed interpreter function so it doesn't give error