fixed indentation and array syntax