The function must be defined inside the class..