tested with ubuntu 14.04