Changed exp to long instead of integer