Button code to view.
Added mutible Factories