Use let properly, add "limit" keyword and ; map