reincarnation of ugly.h

Nothing needed to be said here