storing code for sharing purpose