Unlink functionality implemented but not yet tested fully