simplify coding