Refect some codes