using fpath might work