temp version 2 for structure and size