Duplicate of line #84, can be moved out before conditions.