only when accept equals true