made button struct exportable