fixed coding styles (array brackets)