added structure function to interface