widget prog lang - code clean up