added buttons and detail items