flat onclick model