some code & clean