* implemented dynamic stuff for the animations (no prebuilding for the arrays)