distributed code among modules