more complete example of the autofill stuff