restructure repo
changed function name beforeThis to previous