Changed the double to int for miscellaneous on overload function.