trying to figure out how to share code