common struct used in this tool