remove helper code