Added sheep array functions