support functions in create-store