Some logic to sharing