Some utilities which may be useful in future