added function to look for common folder