reindent code to increase readability

Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>