made button code include forms