unify separate methods