started rl implementation