third commit

- fix warning: braces around scalar initializer
- removed repeated lines

Signed-off-by: Caio99BR <caiooliveirafarias0@gmail.com>