few changes in linear transformation