unify programming style