using shared code