Added createClickVector method