adding common routines and shared object find