added native files and some non functioning code