implement accept action (issue 1479)