application to call oneself with different kinds of options