Dynamic Mode for different data types