added 138 formula, redesigned UI