switch to common handler inside client  code
this will not  compile