processing Last command

thanks - i used arrays and a loop and it works !

BEGIN{print "USERS\tLOGINS\tTIME\tMisc"}

# make an array of user names,
{
  users[$1]+=$10
}

#using a loop print the user names and times they logged in
END{
 for (u in users){
 printf("%-10s %-10s",u,users)
 }
}

its owkring now. thanks