style: magic numbers
style: do not use null values
style: if-blocks with braces or single line if-ternary
style: public methods must return explicit type
style: avoid using return
style: whitespace at end of line
style: line length max 120 characters
style: file end with newline
scalastyle errors will cause the build to fail