working on common code (shared) for loading dll or so