implemented rl (works)