solved for unique solution