Got the RAF working correctly