Added rapid code