implement some instructions