adding some interface tools to specify conditions