nice GI function on design pattern. Smiley