updated alternate.c