Added _accept function