right click and define working at the same time