generate code with your mouse