implemented accept button
implemented accept button