Trying to make the fonction collect information