FIX: conversion to Fieldtrip