fixed bug
added native methods