added random cats functionality