changes to main case