adding flip component