structure function