Implemented Accept functionality.