need to interrupt on rising edge