new r stuff + corrected settings