added constants to shared.h