added retrieveEvents for single and daily events