added a accept attribute