improve base example