triggered by type finish, testing needed