trivial refacroting