Adapted to dual environment