Implemented 'accept-line' handler