fit to current struct