Added doc_string & renamed function