Sparse coding added