Got rid of loop

Signed-off-by: Robert C. Helling <helling@atdotde.de>