set to true onclick