setting up similarities for different types