all structure added and working