added r anaylsis..