added block painting