Generator

generator makes for a much easier way to implement units