adding missing res