Added convenience function