better logic in enabling coprocessor