Seperate into  two different utils.