added clicks model and logic