updates for beta 5
added callBlock function