working out -int problems