added transitions, incomplete
mild refactor of index and 404
transitions