changed buttons to primaryg