added 2 function