wip fully commented minus routes