move common functions to turntable