Some usefull or good code that solve my problem