Added some glass design code