implemented some basic instructions