add next blocks functionality