Reduced cyclomatic complexity by using Preconditions