use safe set to avoid no method errors