commit assignment solution