when using segments, one should use them properly