add function,welcome alert and timer