session: use short data types