remove unused
shared code