Working version, sans file input!