for auto widget adding