feed detection and some other trunk work