home link works and code is condensed