Make app6 and app7 code look similar
Use classed() to add classes