Works like this, but not with more links per class yet