When your friend went up and got immediate attention it was .
The employee was done doing what he was at the time you came up .
When your friend went up and got immediate attention it was because the employee was done doing what he was at the time you came up .