remaking function
moved aliases to linear