continued writing functions