modifying data_handlers for dynamic creation