restrict and multiply working