First attempt at using rl