Added R and N learning