added crate snippet