added lines to extra.cc