changed normalization input function to not require source node