removing c for doc and replacing for slice array t