accept method