added few utilities