removed if to see if function runs