sample interface for use case (jquery)