implement animation to cards
checking values from fields