moved to smartpad/common