misc stuff for sharing