changed structrue