adding missing namespace declaration code