added ending and secret