move poodle check as a new function