exported bites function