added general utils