Added Ionic Functionality