added the daily limit hook and subscription hook