cleaned up mixed integers