Added sheep logic