added silhouette code