Some additionally useful and simple functions