Functions Industry 13 - added all checks and some output