finished message handeling