tested on ubuntu 14.04