add not so good code but usefull