guard brackets inside while construct are now optional

Signed-off-by: mdausend <marcel.dausend@uni-ulm.de>