why define onclick?