Added map() to manage avg