start of implementing iterrupts