bite function