add some help functions