Code including autofill feature