Modified for adv3Lite v 1.4