added writecall writeint writeif and writegoto have yet to test