utils that are shared