made small changes to fix implementation on the penny press