updated for ubuntu 12.10