Intial Java based snippets