chnaged button so it can be validated