simplify friend id var