moved common to utils package