codes for back projection