a few more convenience functions