Added functionality to second button