master: s-0 added some extension methods