syntax errors; added popular func