added instructions for how to use this function
updated content