Changed all bigints to integers