added convenience functions