invertBoolean and currentTime native functions implemented