updated NOCODING solution