some changes to the top part