Added some functions to make it easy to use

Added some functions to make it easy to use