check on rising edge of start signal