Addded convenience function.