alpm: add some code but nothing work