added more block apis
cleanup