bounded some inputs, indented code