added buttons to test all functions separately.