half finished the contextHandler