made createNN a little clearer