updated spec and data types