adding basis & normal functions