bug
bug, this was moved to global object