added block support as per #55