Newer version with examples for variable inputs