add cond code
ready to switch