more code for alvin