added messages for some functions