using the EventSource for getting the altitude