added comments  in the consoleintr