Block function not working.