final version with clicks