poor man's DI completed
snippets for poor man's DI