implemented structs (buggy)