Added accept method