replaced record command