added the ability to shorten code, almost to corn status