added reflex, which is not yet working well