struct equation