Added general utilites