Add of function and correction of get/put