set_info() function