fixed algo + home view edits