better offline setup