renamed functions to common