sharedir implemented