update intepreter and add main