adding assertion for case sharing