tested with ubuntu 12 & 13