Implemented accept()