 		current_heart_rate_data[data_index] = buffer_pop();
 		data_index++;
 	}
-	Serial.print("Data Index - ");
+	Serial.print(F("Data Index - "));
 	Serial.println(data_index);
 	boolean success = lib_aci_send_data(PIPE_HEART_RATE_HEART_RATE_MEASUREMENT_TX, (uint8_t *)&current_heart_rate_data[0] ,data_index);
 	
-	Serial.print("Send Data - ");
+	Serial.print(F("Send Data - "));
 	Serial.println(success);
 	if(success) {
 		radio_ack_pending = true;

						When the device is in the setup mode
						*/
						aci_state.device_state = ACI_DEVICE_SETUP;
						Serial.println("Evt Device Started: Setup");
						if (ACI_STATUS_TRANSACTION_COMPLETE != do_aci_setup(&aci_state))
						{
							Serial.println("Error in ACI Setup");
						}
						break;
						
						case ACI_DEVICE_STANDBY:
							aci_state.device_state = ACI_DEVICE_STANDBY;
							Serial.println("Evt Device Started: Standby");
							lib_aci_connect(180/* in seconds */, 0x0100 /* advertising interval 100ms*/);
							Serial.println("Advertising started for 180s");
							break;
					}
				}

				radio_ack_pending = false;
				break;
	 	    case ACI_EVT_DATA_RECEIVED:
		        Serial.println(F("DATA RECEIVED"));
		        Serial.print(F("Pipe #: 0x"));
		        Serial.println(aci_evt->params.data_received.rx_data.pipe_number, HEX);
		        
		        switch(aci_evt->params.data_received.rx_data.pipe_number) {
		        	case PIPE_CONNECTIONCONTROL_CONNECTIONINTERVAL_RX_ACK_AUTO:
		        		Serial.println(F("CONNECTION_INTERVAL: "));
		        		
		        		printData(aci_evt);

		        		int x;

		        		uint8_t value_array[aci_evt->len - 2];
		        		uint16_t value;

						for(x = 0; x < aci_evt->len - 2; x++)
						{
							value_array[x] = aci_evt->params.data_received.rx_data.aci_data[x];
							Serial.print(value_array[x], BIN);
							Serial.print(" ");
						}
						Serial.println("");

						value = value_array[1] + ((uint16_t)value_array[0] << 8);
		        		Serial.print(F("Value in decimal: "));
		        		Serial.println(value, BIN);
		        		Serial.println(value, DEC);
		        		break;
		        	case PIPE_CONNECTIONCONTROL_SLAVELATENCY_RX_ACK_AUTO:
		        		Serial.println(F("SLAVELATENCY: "));
		        		break;	
		        	case PIPE_CONNECTIONCONTROL_SAMPLINGRATE_RX_ACK_AUTO:
		        		Serial.println(F("SAMPLING_RATE: "));
		        		printData(aci_evt);
		        		break;
		        	default:
		        		printData(aci_evt);
		        }
		        break; 
			 case ACI_EVT_DISCONNECTED:       
				/**
