code to share