flag renamed for clarity, parameters as well

Signed-off-by: parhamfh <parhamfh@kth.se>