add sample sections, add handleMessage