added unsafe functions
added unsafe functions