reorganized utils