Update: Guard clauses work as expected, let's work on the output.