adding convenience functions