could be turned into a guard clause, the enclosed block is quite large