more warnings (-Wextra -pedantic)