consolidate other snippets