implementation of JustClick API