Basic getEvents_internal and TODOs added