buttons now working