modified for Arch Linux