Parial implemententation.