added which to cycpp