Created a smaller file without error messages and shorter function names.