- simplify code