added naming functions for structures