Basic code, with a few options.