Added function for easy use