updated for weird ubuntu syntax