added classes to previews