add rec task functionality
merged files