add cycle warning