add some resources and controls