changing of struct