just working out the kinks communicating between c and node code