added ability to do linear fragments