add static and friend