Pushed changes to test in Ubuntu (added a function).