move click to local constant