layout api for imu