add convenience functions