 The door frame is fastened to the tin can wall by hammering nails partially into the side of the frame that will touch the tin can wall and allowing the concrete to harden around the nails.Short strips of metal lath are also attached to the frame and folded out (perpendicular to the frame) and allowed to set in the can/concrete matrix.The same method is applied to windows.