added wholesale
should use this to test if it runs when i access the page directly