* shorten common functions.