adding missing features code