Implemented Dykam's thing (almost)