added cycles support