implemented prey behavior