Using array initializer to clean the buffer