added accept attribute