is it possible to have a message" Finished" at the end of the function ?