Checking in working code fro ubuntu side.