working version of normal map