lab7 user.c