adding system initialization
correcting interrupt error