clear the code for general use

update the code to apply with anyone usage later
(general usage)