Removed double call of getBarometer()