changed long to numeric