change sub interpreter and add LOGO functions