ref. code and change design