get block level function is working