remove -r flag
fix value calculation
initial commit