Version 2.02 - Uses R environments instead of lists