added handler snippet