a me cmq non dava nessun errore la tua porzione di codice è giusta!