added data types and example