added electric imp reference code